<template>
    <el-dialog :visible.sync="enlargeVisible" title="预览" center
               width="50%"  @close="closeModel">
        <img width="100%" :src="imageUrl" alt="imageUrl">
    </el-dialog>
</template>

<script>
    export default {
        name: "images-enlarge-model",
        props: {
            enlargeVisible: null,
            imageUrl: null
        },
        methods: {
            closeModel() {
                this.$emit('hiddenImagesEnlarge')
            }
        }
    }
</script>

<style scoped>

</style>
